Module-level declarations
Types
The configuration for this module, to be defined in the chromia.yml
Functions
Calculates the account details for the account that will be registered using the ft4.ras_transfer_fee
strategy.
Returns the ID of the account that receives the fee payments, or null for the default one
To get the account, the proper usage is:
val account = transfer.ensure_chain_fee_account(fee_account_id());
Returns the assets configured in module_args.asset
.
The action
for the fee _strategy
. Transfers the funds to the account, paying the fee that is required.
Throws "FORBIDDEN ASSET"
if the asset:
cannot be used to pay the fee, or
is not found.
Throws if the chain configuration cannot be parsed.
Queries
Returns a list of assets that can be used to pay for the registration fee, alongside the amount to be paid.
Operations
The operation that defines this strategy. The fee strategy allows users to register a new account by paying a one-time fee.
Throws if the next operation in the transaction is not accepted by require_register_account_next_operation